package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * WBS运维项目基础信息
 *
 * @TableName t_contract_wbs_project
 */
@TableName(value = "t_contract_wbs_project")
@Data
public class TContractWbsProject implements Serializable {

    @ApiModelProperty("ID")
    @TableId(value = "project_id", type = IdType.AUTO)
    private Integer projectId;

    @ApiModelProperty("项目ID")
    @TableField(value = "bill_id")
    private String billId;

    @ApiModelProperty("项目编号")
    @TableField(value = "project_code")
    private String projectCode;

    @ApiModelProperty("项目名称")
    @TableField(value = "project_name")
    private String projectName;

    @ApiModelProperty("立项日期")
    @TableField(value = "project_date")
    private Date projectDate;

    @ApiModelProperty("立项金额")
    @TableField(value = "project_amount")
    private BigDecimal projectAmount;

    @ApiModelProperty("计划开始时间")
    @TableField(value = "plan_begin_date")
    private Date planBeginDate;

    @ApiModelProperty("计划结束时间")
    @TableField(value = "plan_end_date")
    private Date planEndDate;

    @ApiModelProperty("部门")
    @TableField(value = "department")
    private String department;

    @ApiModelProperty("管理员")
    @TableField(value = "administrators")
    private String administrators;

    @ApiModelProperty("状态")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

}